Total Complexity | 25 |
Dependencies | 3 |
Dependents | 6 |
Total lines | 121 |
Lines of code | 72 |
Logical lines of code | 35 |
Comment lines | 15 |
Methods | 14 |
Properties | 6 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_payment_method_types() | 59 | 7 | 13 | |
is_setup_intent_needed() | 77 | 3 | 3 | |
get_element_options() | 65 | 2 | 10 | |
update_order_review() | 73 | 2 | 5 | |
add_script_params() | 70 | 2 | 6 | |
__construct() | 71 | 1 | 6 | |
instance() | 80 | 1 | 3 | |
initialize() | 69 | 1 | 6 | |
is_payment_intent_required_for_frontend() | 80 | 1 | 3 | |
is_deferred_intent_creation() | 80 | 1 | 3 | |
set_order_pay_constants() | 79 | 1 | 3 | |
add_element_options_to_fragments() | 75 | 1 | 4 | |
add_blocks_general_data() | 76 | 1 | 4 | |
set_intent_exists() | 81 | 1 | 3 |